Skip to content

ci(atlas-search): run all four crates in the PR/main venue; registry row mapped (#7825) - #8646

Merged
dezren39 merged 2 commits into
mainfrom
queue/14002-7825-atlas-ci
Nov 11, 2026
Merged

dezren39 merged 2 commits into
mainfrom
queue/14002-7825-atlas-ci

Conversation

@dezren39

@dezren39 dezren39 commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Wires #7825: the atlas-search Rust suites get a complete CI venue, and the registry row is updated to match.

Starting state (verified fresh)

atlas-search-pr.yml already ran -p atlas-search and -p atlas-core on pull_request — so the packet's "no venue" premise was partly stale — but the registry invocation (cargo test --workspace --all-targets, 77 tests in the named suites) was still not covered: atlas-proto and atlas-embed never ran, --all-targets was not used, there was no push-to-main tier, and .github/test-suite-registry.json still recorded the row as uncovered with venue null.

Change

  • .github/workflows/atlas-search-pr.yml:
    • All four crates now test with --all-targets: new steps for atlas-proto and atlas-embed alongside the existing atlas-search / atlas-core steps.
    • Triggers gain push to main (same path filter) and workflow_dispatch; the concurrency group keys push runs by run_id (the scripts-test/nix-ci contract: every merged tree gets its own completed run) while PR runs keep the per-ref group. Timeout 20 → 30 min for the larger job.
  • .github/test-suite-registry.json: row atlas-search.rust → status mapped, venue recorded (workflow + job steps, active, dispatchable).

The ignored gate_a test (disposition)

atlas-embed's gate_a model test stays #[ignore]d in this venue, by its own documented requirement: it needs ATLAS_ORT_LIB and the pinned model snapshot (see the test's file docs). The venue runs the crate's remaining targets; the ignore reason is also noted in the workflow step comment and the registry row.

Verification (laptop, this branch)

cd pkgs/atlas-search && cargo test --workspace --all-targets — full workspace green: all suites pass (1 ignored, the gate_a model test above). One observation: the very first cold-build run failed cli_text_goldens_match_python once under parallel load; it passed immediately in isolation and in the warm full-workspace re-run, so it is recorded here as an observed one-off, not hidden.

The PR's own atlas-search run is the triggered-run observation for the new steps; merge follows its green completion.

🤖 queue worker lane any-b, task 14002


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…row mapped (#7825)

atlas-search-pr.yml already covered atlas-search and atlas-core on
PRs, but atlas-proto and atlas-embed never ran, --all-targets was
unused, there was no push-to-main tier, and the test-suite registry
still recorded atlas-search.rust as uncovered. Add the two missing
crate steps (all with --all-targets), push-to-main + workflow_dispatch
triggers with run_id-keyed push concurrency, and mark the registry
row mapped with the venue recorded. gate_a's model test stays
ignored by its documented requirement (ATLAS_ORT_LIB + pinned model
snapshot). Verified: cargo test --workspace --all-targets green on
the laptop (1 ignored, gate_a model test).
@dezren39
dezren39 requested a review from a team as a code owner November 11, 2026 10:44
@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T11:56:28.365025Z b6c4a78 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · resumed (task 14002, lane code-d)

…7825)

qvec_file() named its temp file by test-binary pid and rewrote it on
every run_bin call. The cli_parity tests run in parallel inside one
binary, so a CLI child could read the file mid-truncate from a
sibling tests rewrite and fail with an empty-JSON error - reliably
@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · venue flake found + fixed in the pushed commit (task 14002, lane code-d)

Running the venue's exact commands locally at f95f535 before merging: atlas-core, atlas-proto, and atlas-embed were green, but cargo test -p atlas-search --all-targets failed cli_text_goldens_match_python twice in two tries — while --test cli_parity alone passed. Root cause: qvec_file() in cli_parity.rs named its temp file by test-binary pid only, and rewrote it on every run_bin call; the binary's tests run in parallel, so one test's CLI child could read the file mid-truncate from another test's rewrite (ATLAS_SEARCH_QVEC_FILE: bad JSON vector … EOF while parsing a value at line 1 column 0). Every other temp path in these suites carries a per-test tag; this one didn't, and the write-per-call made the shared name racy. Under --all-targets load (the venue's configuration) the window widens enough to fail reliably.

Fix: write the qvec file once per test-binary run (OnceLock); the content is the shared golden fixture, identical for every caller. Verified: three consecutive -p atlas-search --all-targets runs green (33 lib + 11 cli_parity), plus atlas-core / atlas-proto / atlas-embed green at this head. Without this fix the new venue would have flaked red in CI.

@dezren39

Copy link
Copy Markdown
Member Author

@codex review — one fix commit added on top of your clean review of f95f535: b6c4a78 fixes a temp-file race in cli_parity's qvec_file() that made the new venue flake under --all-targets (details in my note above). Please re-review the new head.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: b6c4a787c4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@dezren39
dezren39 merged commit 3140303 into main Nov 11, 2026
0 of 10 checks passed
@dezren39
dezren39 deleted the queue/14002-7825-atlas-ci branch November 11, 2026 11:57
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audit:complete PR fully implemented spawning issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant